﻿#include "BoxConf.h"

BoxConf::BoxConf(void)
{
}

BoxConf::~BoxConf(void)
{
}

std::string BoxConf::GetId()
{
	return m_id;
}

void BoxConf::SetId(std::string v)
{
	m_id = v;
}

UserInfo& BoxConf::GetUser()
{
	return m_user;
}

void BoxConf::SetUser(UserInfo v)
{
	m_user = v;
}

int BoxConf::GetSaveDays()
{
	return m_save_days;
}

void BoxConf::SetSaveDays(int v)
{
	m_save_days = v;
}

int BoxConf::GetPatrolNum()
{
	return m_patrol_num;
}

void BoxConf::SetPatrolNum(int v)
{
	m_patrol_num = v;
}

bool BoxConf::GetShowLabel()
{
	return m_show_label;
}

void BoxConf::SetShowLabel(bool v)
{
	m_show_label = v;
}

bool BoxConf::GetAlarmRecord()
{
	return m_alarm_record;
}

void BoxConf::SetAlarmRecord(bool v)
{
	m_alarm_record = v;
}

bool BoxConf::GetAutoRestart()
{
	return m_auto_restart;
}

void BoxConf::SetAutoRestart(bool v)
{
	m_auto_restart = v;
}

std::string BoxConf::GetAlarmUrl()
{
	return m_alarm_url;
}

void BoxConf::SetAlarmUrl(std::string v)
{
	m_alarm_url = v;
}

std::string BoxConf::GetSocketUrl()
{
	return m_socket_url;
}

void BoxConf::SetSocketUrl(std::string v)
{
	m_socket_url = v;
}